package cn.edu.shu.wechat.core.bean;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "xml")
public class VoiceMessage extends BaseMessage {
	
	private long mediaId;//语音消息媒体id，可以调用多媒体文件下载接口拉取数据。
	
	private String format;//语音格式，如amr，speex等
	
	@XmlElement(name="MediaId")
	public void setMediaId(long mediaId) {
		this.mediaId = mediaId;
	}
	@XmlElement(name="Format")
	public void setFormat(String format) {
		this.format = format;
	}
	public long getMediaId() {
		return mediaId;
	}
	public String getFormat() {
		return format;
	}
	public VoiceMessage() {
		super();
	}
	
	
	

}
